package com.miniot.base.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TypeTwoTreeDTO {
    /** 二级类型名称 */
    @ApiModelProperty(value = "类型名称")
    private String typeName;
    /** 二级类型编码 */
    @ApiModelProperty(value = "类型编码")
    private String typeCode;
    /** 关联一级类型id */
    @ApiModelProperty(value = "类型id")
    private Long typeId;
    /** 子集 */
    @ApiModelProperty(value = "子集")
    private List<TypeTwoTreeDTO> child;

}
